package org.ykh.cloudalibaba;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.ykh.iruleConfig.IruleConfig;

/**
 * @author ykh
 * @create 2022-01-30 10:29
 */
@SpringBootApplication
@EnableDiscoveryClient
//访问nacos-payment-provider使用IruleConfig.class提供的集群策略
@RibbonClient(name = "nacos-payment-provider",configuration= IruleConfig.class)
public class OrderNacosMain83 {
    public static void main(String[] args) {
        SpringApplication.run(OrderNacosMain83.class, args);
    }
}
